import type { ProColumns } from '@ant-design/pro-table';

// 定义请求返回数据类型
export type AppColumnsItem = {};

// 定义表头
let columnsData: ProColumns<AppColumnsItem>[] = [
  {
    title: '名称',
    dataIndex: 'name',
    hideInTable: true,
  },
  // 上方查询，下方表头
  {
    title: '名称',
    fixed: 'left',
    hideInSearch: true,
    width: 200,
    dataIndex: 'name',
  },
  {
    title: '编号',
    hideInSearch: true,
    width: 200,
    dataIndex: 'serialNo',
  },
  {
    title: '描述',
    hideInSearch: true,
    width: 200,
    dataIndex: 'serialNo',
  },
  {
    title: '修改人',
    hideInSearch: true,
    width: 90,
    dataIndex: 'createBy',
  },
  {
    title: '修改时间',
    hideInSearch: true,
    width: 200,
    dataIndex: 'createTime',
  },
  {
    title: '操作',
    hideInSearch: true,
    width: 180,
    dataIndex: 'option',
    fixed: 'right',
  },
];
export default columnsData;
